#ifndef __DFROBOT_GT911_H
#define __DFROBOT_GT911_H

// GT911 Configuration Array Table
// x-coordinate maximum output 0x0140=320
// y-coordinate maximum output 0x01E0=480
// 0x8047~0x80FE 168 registers
// 0x80FF Configuration information check, the complement of the byte sum of 0x8047 ~ 0x80FE
// 0x8100 Configuration update flag
// Array organization
// 1. Register start address 0x8047
// 2. Number of data 0x00BA
// Init array address
static const uint8_t PROGMEM touchGT911ConfigTable[] = {
2,
1,
0x80, 0x47, 
0x00, 0xBA,//(Register start address 0x8047, the number of data 0x00BA)
0x41, 0x40, 0x01, 0xE0, 0x01, 0x05, 0x05, 0x00, 0x01, 0x08,  
0x28, 0x05, 0x50, 0x32, 0x03, 0x05, 0x00, 0x00, 0x00, 0x00,  
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x87, 0x28, 0x0A,  
0x17, 0x15, 0x31, 0x0D, 0x00, 0x00, 0x00, 0x9A, 0x04, 0x25,  
0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x64, 0x32, 0x00, 0x00, 
0x00, 0x0F, 0x94, 0x94, 0xC5, 0x02, 0x07, 0x00, 0x00, 0x04, 
0x8D, 0x13, 0x00, 0x5C, 0x1E, 0x00, 0x3B, 0x30, 0x00, 0x28, 
0x4C, 0x00, 0x1C, 0x78, 0x00, 0x1C, 0x00, 0x00, 0x00, 0x00, 
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
0x00, 0x00, 0x14, 0x12, 0x10, 0x0E, 0x0C, 0x0A, 0x08, 0x06, 
0x04, 0x02, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
0x00, 0x00, 0x00, 0x02, 0x04, 0x06, 0x08, 0x0A, 0x0C, 0x26, 
0x24, 0x22, 0x21, 0x20, 0x1F, 0x1E, 0x1D, 0xFF, 0xFF, 0xFF, 
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x00, 
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
0x00, 0x00, 0x00, 0x00, 0x12, 0x00
};


#endif
